package com.example.ida;
import java.io.File;


import android.content.Context;
import android.content.Intent;
import android.os.Environment;
import android.view.MenuItem;
import android.widget.Toast;

public class OptionMenu {
	 public OptionMenu (Context cont, MenuItem item)
		{
			int id = item.getItemId();
			Intent tent = null;
			switch(id)
			{
			case R.id.input:
				tent = new Intent(cont, InputActivity.class);
				cont.startActivity(tent);
				break;
			case R.id.mainA:
				tent = new Intent(cont, MainActivity.class);
				tent.putExtra("exec", false);
				cont.startActivity(tent);
				break;
			case R.id.album:
				tent = new Intent(cont, AlbumActivity.class);
				cont.startActivity(tent);
				break;
			case R.id.camera:
				tent = new Intent(cont, CameraActivity.class);
				cont.startActivity(tent);
				break;
			}
		}


	}